package com.program.beautymakeup.service;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * @author 沈洋 邮箱:1845973183@qq.com
 * @create 2023/2/19-12:25
 **/
@Service
public class AsyncService {
    @Async
    public void execute(Runnable runnable){
        runnable.run();
    }
}
